#ifndef __PWM_H
#define	__PWM_H

//#define PWM_DEFAULT_VALUE   _PWM_M

enum {
    PWM1,
    PWM2,
    PWM3,
    PWM4,
    PWM5,
    PWM6,
    PWM7,
    PWM8,
    PWM_SUM
};

void setpwm(INT8U ch, uint32_t value);
uint32_t getpwm(INT8U ch);

//void TIM_Init(void) ;
void pwmout_config(void);

#endif 

